Skip to content

Conversation

@bhatiaharsh
Copy link
Contributor

Fixes to installation. Tested with python setup.py install and spack install. Still need to update the readme.

setup.py Outdated
def list_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
files = [os.path.join(path, f) for f in filenames]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

variable files is not being used by the function, can we remove it?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to copy only the data, and not the .callflow files. I think we can add a statement to check the type of files that can be considered as well. Otherwise, it might copy a lot of files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, looks like a copy-paste issue. get rid of files.
Yes, to .callflow too. we should see if os.walk returns hidden files/directories. i didnt encounter this.

@jarusified jarusified merged commit 89560f2 into llnl:develop Oct 14, 2020
@jarusified jarusified deleted the fix/installation branch January 15, 2021 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants